﻿<%@ Page Title="New Open Order" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="NewOpenOrder.aspx.cs" Inherits="IFD2.NewOpenOrder" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script src="JS/city_suggestion.min.js"></script>

    <form id="form1" runat="server" role="form" class="form-inline" defaultbutton="lbtnQuery">
    <%--<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>--%>
    <div class="container-fluid body-content" style="width:100%;">

    <div class="row">
        <div class="col-sm-2 well well-sm">
            <h5><asp:Literal ID="litTitle" runat="server" meta:resourcekey="NewOrder"></asp:Literal></h5>
        </div>

        <div class="col-sm-10 well well-sm">
            <div class="panel">
                <div class="panel-heading btn-primary">
                    <h6 class="panel-title" id="section-2"><asp:Literal ID="Literal1" runat="server" meta:resourcekey="NewOrder"></asp:Literal></h6>
                </div>
                <div class="panel-body">
                    <table style="margin:auto;">
                    <tr><td colspan="2"><hr /></td></tr>
                    <tr><td colspan="2">&bull; <asp:Label ID="Label1" runat="server" Text="Segments:" meta:resourcekey="TripCount"></asp:Label>&nbsp;&nbsp;
                        <asp:DropDownList id="dlTripCount" runat="server" AutoPostBack="True" OnSelectedIndexChanged="dlTripCount_SelectedIndexChanged" Width="45px">
                            <asp:ListItem>1</asp:ListItem>
                            <asp:ListItem Selected="True">2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                        </asp:DropDownList></td></tr>
                    <tr><td colspan="2">&bull; <asp:Label ID="Label9" runat="server" Text="Trip:" meta:resourcekey="TripPlan"></asp:Label>
                        <div id="targetDiv" style="position:absolute;border:solid 1px black; z-index:20000; background-color:White; display:none;"></div>
                        </td></tr>
                    <tr><td style="text-align:center;"> <asp:Label ID="Label2" runat="server" Text="From(City)" meta:resourcekey="From"></asp:Label></td>
                        <td style="text-align:center;"><asp:Label ID="Label10" runat="server" Text="To(City)" meta:resourcekey="To"></asp:Label></td></tr>
                    <tr>
                        <td style="text-align:center;"><asp:TextBox ID="txtOri1" runat="server" Width="40px" MaxLength="4"></asp:TextBox></td>
                        <td style="text-align:center;"><asp:TextBox ID="txtDes1" runat="server" Width="40px" MaxLength="4"></asp:TextBox></td>
                    </tr>

                    <tr>
                        <td style="text-align:center;"><asp:TextBox ID="txtOri2" runat="server" Width="40px" MaxLength="4"></asp:TextBox></td>
                        <td style="text-align:center;"><asp:TextBox ID="txtDes2" runat="server" Width="40px" MaxLength="4"></asp:TextBox></td>
                    </tr>

                    <tr>
                        <td style="text-align:center;"><asp:TextBox ID="txtOri3" runat="server" Width="40px" MaxLength="4" Visible="False"></asp:TextBox></td>
                        <td style="text-align:center;"><asp:TextBox ID="txtDes3" runat="server" Width="40px" MaxLength="4" Visible="False"></asp:TextBox></td>
                    </tr>

                    <tr>
                        <td style="text-align:center;"><asp:TextBox ID="txtOri4" runat="server" Width="40px" MaxLength="4" Visible="False"></asp:TextBox></td>
                        <td style="text-align:center;"><asp:TextBox ID="txtDes4" runat="server" Width="40px" MaxLength="4" Visible="False"></asp:TextBox></td>
                    </tr>

                    <tr>
                        <td colspan="2">&bull; <asp:Label ID="Label4" runat="server" Text="Passengers:" meta:resourcekey="PaxCount"></asp:Label></td>
                    </tr>
                    <tr><td colspan="2"><asp:Label ID="Label5" runat="server" Text="Adult(s):" meta:resourcekey="Adults" Font-Bold="False"></asp:Label>&nbsp;
                        <asp:TextBox ID="txtAdtCount" runat="server"  Width="32px">1</asp:TextBox>
                        <asp:Label ID="Label6" runat="server" Text="Child(ren):" meta:resourcekey="Children" Font-Bold="False"></asp:Label>
                        <asp:TextBox ID="txtChdCount" runat="server"  Width="32px">0</asp:TextBox>
                        <asp:Label ID="Label7" runat="server" Text="Infant(s):" meta:resourcekey="Infants" Font-Bold="False"></asp:Label>
                        <asp:TextBox ID="txtInfCount" runat="server"  Width="32px">0</asp:TextBox>
                    </td></tr>
                    <tr><td colspan="2"><hr /></td></tr>
                    <tr><td colspan="2"  style="text-align:center;">
                        <asp:Button ID="btnQueryFares" runat="server" CssClass="btn btn-sm btn-primary" Text="Query Open Fares"  meta:resourcekey="FareQuery" onclick="butFareQuery_Click"/>
                        </td></tr>
            
                    <tr>
                        <td colspan="2">
                            <asp:Label ID="lblError" runat="server" CssClass="ifdMessage"></asp:Label>
                        </td>
                    </tr>
                    </table>
                </div>
            </div>
            
        </div>
    </div>

    </div>
    <%--</ContentTemplate></asp:UpdatePanel>--%>
    </form>
</asp:Content>
